<?php
/**
 * ExtCheckboxSelectionModel class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtCheckboxSelectionModel extends ExtCheckboxSelectionModelBase
{
    /**
     * Gets the value of ExtJS checkOnly property
     * @return Boolean 
     */
    public function getCheckOnly()
    {
    	return $this->getConfig("checkonly");
    }

    /**
     * Sets the value of ExtJS checkOnly property
     * @param Boolean $value 
     */
    public function setCheckOnly($value)
    {
    	$this->setConfig("checkonly",$value);
    }

    /**
     * Gets the value of ExtJS header property
     * @return String 
     */
    public function getHeader()
    {
    	return $this->getConfig("header");
    }

    /**
     * Sets the value of ExtJS header property
     * @param String $value 
     */
    public function setHeader($value)
    {
    	$this->setConfig("header",$value);
    }

    /**
     * Gets the value of ExtJS sortable property
     * @return Boolean 
     */
    public function getSortable()
    {
    	return $this->getConfig("sortable");
    }

    /**
     * Sets the value of ExtJS sortable property
     * @param Boolean $value 
     */
    public function setSortable($value)
    {
    	$this->setConfig("sortable",$value);
    }

    /**
     * Gets the value of ExtJS width property
     * @return Number 
     */
    public function getWidth()
    {
    	return $this->getConfig("width");
    }

    /**
     * Sets the value of ExtJS width property
     * @param Number $value 
     */
    public function setWidth($value)
    {
    	$this->setConfig("width",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'checkonly' => 'checkOnly'
        ));



        $this->setXType(null);
        $this->setXClass('Ext.grid.CheckboxSelectionModel');
    }    
}
?>